<?php if ($this->_var['tag_nums']): ?>
<?php $_from = $this->_var['tag_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'data');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['data']):
?>
<?php if ($this->_var['key'] != $this->_var['appid']): ?>
<?php if ($this->_var['data']['type'] == "ecshop"): ?>
<div class="modTitle clearfix">
  <span class="left"></span><span class="right"></span>
  <div class="f_l"><?php echo $this->_var['data']['name']; ?></div>
</div>
<div class="modBox clearfix">
	<?php $_from = $this->_var['data']['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'tag');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['tag']):
?>
    <img src="<?php echo $this->_var['tag']['image']; ?>" width="100" height="100" /><br />
    <a href="<?php echo $this->_var['tag']['url']; ?>"><?php echo $this->_var['tag']['goods_name']; ?></a>
  <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
</div>
<?php elseif ($this->_var['data']['type'] == "discuz"): ?>
<div class="modTitle clearfix">
  <span class="left"></span><span class="right"></span>
  <div class="f_l"><?php echo $this->_var['data']['name']; ?></div>
</div>
<div class="modBox clearfix">
	<?php $_from = $this->_var['data']['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'tag');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['tag']):
?>
	<a href="<?php echo $this->_var['tag']['url']; ?>"><?php echo $this->_var['tag']['subject']; ?></a><br />
	<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
</div>
<?php endif; ?>
<?php endif; ?>    
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
<?php endif; ?>